package controller;

import java.util.HashMap;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import dao.GeteBayOfficialTime_HashMap_DAO;

public class GeteBayOfficialTime_HashMap_Action extends Action{

	@Override
	public String perform(HttpServletRequest request,
			HttpServletResponse response) {
		
		HashMap<String,String> data = GeteBayOfficialTime_HashMap_DAO.getEbayOfficialTime();
		request.setAttribute("time", data.get("Timestamp"));
		request.setAttribute("status", data.get("Ack"));
		
		return "geteBayOfficialTime_HashMap.view";
	}

}
